package com.game.simplegame.creature;

import com.game.simplegame.world.World;

/**
 * Created by Administrator on 2017-04-18.
 */
public class GoHomeStatus extends MoveStatus {

    public GoHomeStatus() {
        super(0, 0);
    }

    @Override
    protected void onDestination(Creature creature, World world) {
        creature.changeTo(new SleepStatus());
    }
}
